/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package generic3B;

/**
 *
 * @author Liem
 */
public class KotakTest {
     public static void main (String []args) {
      // Upper Bound
         Kotak<? super E> geneUp1 , geneUp2;
         geneUp1 = new Kotak<A>();
 //        geneUp2 = new Kotak<G>(); // Tidak Valid karena ada Upper Bound
         
      // Lower Bound
         Kotak<? extends E> geneDown1 , geneDown2;
 //         geneDown1 = new Kotak<C>(); // Tidak Valid karena ada Lower Bound
         geneDown2 = new Kotak<F>();
     }
}
